﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Security.Cryptography.X509Certificates;

namespace Coldairarrow.Entity.Interface
{
    /// <summary>
    /// 销售明细
    /// </summary>
    public class HS_SALESLIST
    {
        public string ID { get; set; }
        public string RowId { get; set; }
        /// <summary>
        /// 业务日期
        /// </summary>
        public string FBillDate { get; set; }
        /// <summary>
        /// 单据名称
        /// </summary>
        public string FBillFormName { get; set; }
        /// <summary>
        /// 单据编号
        /// </summary>
        public string FBillNo { get; set; }
        /// <summary>
        /// 单据行号
        /// </summary>
        public string FBillSeq { get; set; }
        /// <summary>
        /// 物料编码
        /// </summary>
        public string FMATERIALID { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string FMaterialName { get; set; }
        /// <summary>
        /// BOM版本
        /// </summary>
        public string FBomNumber { get; set; }
        /// <summary>
        /// 辅助属性
        /// </summary>
        public string FAuxPropName { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string FSpecification { get; set; }
        /// <summary>
        /// 计划跟踪号
        /// </summary>
        public string FMTONO { get; set; }
        /// <summary>
        /// 批号
        /// </summary>
        public string FLot { get; set; }
        /// <summary>
        /// 存货类别
        /// </summary>
        public string FCategoryID { get; set; }
        /// <summary>
        /// 物料分组
        /// </summary>
        public string FMaterialGroup { get; set; }
        /// <summary>
        /// 费用项目编码
        /// </summary>
        public string FEXPENSEID { get; set; }
        /// <summary>
        /// 费用项目名称
        /// </summary>
        public string FEXPENSENAME { get; set; }
        /// <summary>
        /// 基本单位
        /// </summary>
        public string FUnitName { get; set; }
        /// <summary>
        /// 基本单位数量
        /// </summary>
        public string FQty { get; set; }
        /// <summary>
        /// 基本单位单价
        /// </summary>
        public string FPrice { get; set; }
        /// <summary>
        /// 主库存单位
        /// </summary>
        public string FStockUnitName { get; set; }
        /// <summary>
        /// 主库存单位数量
        /// </summary>
        public string FStockQty { get; set; }
        /// <summary>
        /// 主库存单位单价
        /// </summary>
        public string FStockPrice { get; set; }
        /// <summary>
        /// 辅库存单位数量
        /// </summary>
        public string FSecStockQty { get; set; }
        /// <summary>
        /// 辅库存单位
        /// </summary>
        public string FSecStockUnitName { get; set; }
        /// <summary>
        /// 辅库存单位单价
        /// </summary>
        public string FSecStockPrice { get; set; }
        /// <summary>
        /// 计价单位
        /// </summary>
        public string FPRICEUNITNAME { get; set; }
        /// <summary>
        /// 计价数量
        /// </summary>
        public string FPRICEUNITQTY { get; set; }
        /// <summary>
        /// 计价单位单价
        /// </summary>
        public string FPriceUnitQtyPrice { get; set; }
        /// <summary>
        /// 金额
        /// </summary>
        public string FAmount { get; set; }
        /// <summary>
        /// 货主
        /// </summary>
        public string FOwnerName { get; set; }
        /// <summary>
        /// 库存组织
        /// </summary>
        public string FSTOCKORGID { get; set; }
        /// <summary>
        /// 仓库
        /// </summary>
        public string FStockId { get; set; }
        /// <summary>
        /// 仓位
        /// </summary>
        public string FSTOCKLOCName { get; set; }
        /// <summary>
        /// 订单单号
        /// </summary>
        public string FOrderNumber { get; set; }
        /// <summary>
        /// 客户类型
        /// </summary>
        public string FCustomterType { get; set; }
        /// <summary>
        /// 客户
        /// </summary>
        public string FCustomter { get; set; }
        /// <summary>
        /// 销售组织
        /// </summary>
        public string FSalesOrgName { get; set; }
        /// <summary>
        /// 销售部门
        /// </summary>
        public string FSalesDept { get; set; }
        /// <summary>
        /// 销售组
        /// </summary>
        public string FSalesGroName { get; set; }
        /// <summary>
        /// 销售员
        /// </summary>
        public string FSalesName { get; set; }
        /// <summary>
        /// 库存状态
        /// </summary>
        public string FStockStatus { get; set; }
        /// <summary>
        /// 凭证字号
        /// </summary>
        public string FVOUCHERBILLNO { get; set; }
        /// <summary>
        /// 客户物料编码
        /// </summary>
        public string FCustomMaterId { get; set; }
        /// <summary>
        /// 客户物料名称
        /// </summary>
        public string FCustomMaterName { get; set; }
        /// <summary>
        /// 是否跨法人交易
        /// </summary>
        public string FISINTERLEGALPERSON { get; set; }
        /// <summary>
        /// 仓管员
        /// </summary>
        public string FStoreName { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string FCreatName { get; set; }
        /// <summary>
        /// 创建日期
        /// </summary>
        public string FCreateDate { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string FMemo { get; set; }

        /// <summary>
        /// 系统单位成本
        /// </summary>
        public string FSysUnitCost { get; set; }
        /// <summary>
        /// 系统成本金额
        /// </summary>
        public string FSysSumCost { get; set; }
        /// <summary>
        /// 单位材料
        /// </summary>
        public string FUnitMaterial { get; set; }
        /// <summary>
        /// 总材料
        /// </summary>
        public string FSumMaterial { get; set; }
        /// <summary>
        /// 单位人工
        /// </summary>
        public string FUnitLaborCost { get; set; }
        /// <summary>
        /// 总人工
        /// </summary>
        public string FSumLaborCost { get; set; }
        /// <summary>
        /// 单位制费
        /// </summary>
        public string FUnitWorkCost { get; set; }
        /// <summary>
        /// 总制费
        /// </summary>
        public string FSumWorkCost { get; set; }
        /// <summary>
        /// 单位成本
        /// </summary>
        public string FUnitCost { get; set; }
        /// <summary>
        /// 总成本
        /// </summary>
        public string FSumCost { get; set; }
        /// <summary>
        /// 毛利
        /// </summary>
        public string FProfit { get; set; }
        /// <summary>
        /// 毛利率
        /// </summary>
        public string FMargin { get; set; }
        /// <summary>
        /// 材料毛利率
        /// </summary>
        public string FMaterialMargin { get; set; }

    }
}
